import request from "@/libs/request";

const basePath = '/appcloud-data' ;

export const apiUrls = {
    getLicenseInfo : basePath + '/license/getLicenseInfo',
    mechine : basePath + '/license/mechine',
    save : basePath + '/license/save'
}

// 获取授权信息
export async function getLicenseInfo(){
	return request( apiUrls.getLicenseInfo , {
      method:'GET'
  })
}
//获取机器码
export async function mechine() {
    return request(apiUrls.mechine, {
        method:'GET'
    })
    
}
// 保存授权码
export async function save(params) {
    return request(apiUrls.save, {
        method:'POST',
        body:params
    })
    
}